package cn.huihuo.weibo.module;

import com.jfinal.plugin.activerecord.Model;

/**
 * Created by zhengjunbo on 2015/11/9.
 */
public class ProductHot extends Model<ProductHot> {
    public static final ProductHot dao = new ProductHot();

    public ProductHot findByProdId(Integer prodId){
        return findFirst("select * from product_hot t where t.prod_id=?",prodId);
    }


}
